RewriteEngine On
RewriteRule ^/$ /pub [R=302,L]
